<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>请求参数获取案例</h1>
    <a href="/">返回首页</a>

    <h3>get请求的表单</h3>
    <form action="/demo01" method="get">
        姓名：<input type="text" name="uname"/><br/><br/>
        性别：<input type="radio" name="sex" value="男"/>男
            <input type="radio" name="sex" value="女"/>女<br/><br/>
        <input type="submit" value="提交"/>
        <input type="reset" value="重置"/>
    </form>
    <br/><br/>

    <h3>post请求的表单</h3>
    <form action="/demo02" method="post">
        姓名：<input type="text" name="uname"/><br/><br/>
        性别：<input type="radio" name="sex" value="男"/>男
            <input type="radio" name="sex" value="女"/>女<br/><br/>
        <input type="submit" value="提交"/>
        <input type="reset" value="重置"/>
    </form>
</body>
</html>